
#ifndef HUGEINT_H
#define HUGEINT_H

#include <iostream>
using std::ostream;

class HugeInt
{
    friend ostream &operator<<( ostream &, const HugeInt & );

    public:
        HugeInt( long = 0 );
        HugeInt( const char * );

        HugeInt operator+( const HugeInt & ) const;
        HugeInt operator+( int ) const;
        HugeInt operator+( const char * ) const;
        HugeInt operator-( const HugeInt &hi ) const;
        HugeInt operator-( int op2 ) const;
        bool operator==( const HugeInt &hi ) const;
        bool operator!=( const HugeInt &hi ) const;
        HugeInt operator*( const HugeInt & ) const;
        bool operator<( const HugeInt &hi ) const;
        HugeInt operator/( const HugeInt &hi ) const;

    private:
        short integer[30];
};

#endif

